<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{$web_name|default=''} | {$seo_title|default=''}</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="/static/css/layui.css">
    <link rel="stylesheet" href = "/static/css/login.css">

</head>
<body>
<div class="login-box">
    <div class="login-logo">
        <a href="{:url('')}"><b>欢迎使用FinalCms</b></a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <p class="login-box-msg">注册您的账户</p>
        <form class = "layui-form ajax" action="{:url('/merchant/register')}" method="post" >
            <div class="layui-form-item">
                <input type="text" name="username" class="layui-input" placeholder="用户名" required lay-verify="required">
            </div>
            <div class="layui-form-item">
                <input type="password"  name="password" class="layui-input" placeholder="密码" required lay-verify="required">
            </div>
            <div class = "layui-form-item">
                <input type="password" name="password2" class = "layui-input" placeholder="重复密码" required lay-verify="required"/>
            </div>
            <div class = "layui-form-item">
                <input type="email" name="email" class = "layui-input" placeholder="邮箱" required lay-verify="required"/>
            </div>
            <div class = "layui-form-item">
                <input type="tel" name="mobile" class = "layui-input" placeholder="手机" />
            </div>
            <input type="hidden" name="__token__" value="{$Request.token}" />
            <button type="submit" class="layui-btn layui-btn-success layui-btn-lg" style = "width:100%;">注册</button>
        </form>
        <div class="social-auth-links">
            <a href="{:url('/merchant/login')}" class="btn btn-block btn-social btn-facebook btn-flat"><i class="ion-chatbubble-working"></i> 商户登录</a>
            |<a href="#" class="btn btn-block btn-social btn-google btn-flat"><i class="ion-chatbubbles"></i> 技术支持</a>
        </div>
    </div>

</div>
<!-- /.login-box -->
</body>
<script src = "/static/js/layui.js"></script>
<script src="/static/js/jquery-3.3.1.min.js"></script>
<script src="/static/js/framework.js"></script>
<script>
    layui.use('form', function(){
        var form = layui.form;
    });
</script>
</html>
